package events 
{
	import app.textures.TextureInfo;
	import app.textures.TextureInfoGroupe;
	import flash.events.Event;
	/**
	 * ...
	 * @author Dmitriy Gaiduk
	 */
	public class ModuleBottomEvent extends Event
	{
		static public const TEXTURE_SELECTED:String = "TEXTURE_SELECTED";
		
		private var _textureInfo:TextureInfo;
		private var _groupeInfo:TextureInfoGroupe;
		
		
		public function ModuleBottomEvent(eventType:String, selectedTextureInfo:TextureInfo,
														selectedGroupInfo:TextureInfoGroupe) 
		{
			super(eventType, false, false);
			_textureInfo = selectedTextureInfo;
			_groupeInfo = selectedGroupInfo;
		}
		
		public function get textureInfo():TextureInfo 
		{
			return _textureInfo;
		}
		
		public function get groupeInfo():TextureInfoGroupe 
		{
			return _groupeInfo;
		}
		
		public function set groupeInfo(value:TextureInfoGroupe):void 
		{
			_groupeInfo = value;
		}
		
	}

}